package com.li.qiqi.mapper;

import com.li.qiqi.domain.Record;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Record record);

    int insertSelective(Record record);

    Record selectByPrimaryKey(Integer id);

    int batchInsert(@Param("list") List<Record> list);

    List<Record> selectByDate(String month);

    List<Record> selectAll();

    List<String> selectMonthList();
}